package com.zzb.weixin.model.datacube;
import com.zzb.weixin.constant.WXJsonName;
import com.zzb.weixin.json.JsonObject;
/**
 * 图文分享转发数据
 * @author user
 *
 */
public class UserShare {
	private String refDate;//数据的日期
	private int shareScene;//图文页（点击群发图文卡片进入的页面）的阅读人数
	private int shareCount;//图文页的阅读次数
	private int shareUser;//原文页（点击图文页“阅读原文”进入的页面）的阅读人数，无原文页时此处数据为0
	
	public UserShare(JsonObject jo) {
		refDate = jo.getAsString(WXJsonName.REF_DATE);
		shareScene = jo.getAsInt(WXJsonName.SHARE_SCENE);
		shareCount = jo.getAsInt(WXJsonName.SHARE_COUNT);
		shareUser = jo.getAsInt(WXJsonName.SHARE_USER);
	}
	public String getRefDate() {
		return refDate;
	}
	public void setRefDate(String refDate) {
		this.refDate = refDate;
	}
	public int getShareScene() {
		return shareScene;
	}
	public void setShareScene(int shareScene) {
		this.shareScene = shareScene;
	}
	public int getShareCount() {
		return shareCount;
	}
	public void setShareCount(int shareCount) {
		this.shareCount = shareCount;
	}
	public int getShareUser() {
		return shareUser;
	}
	public void setShareUser(int shareUser) {
		this.shareUser = shareUser;
	}
}
